import config from "../../config/index.js";
import http from "../../utils/request.js";

export default {
    getLogById: {
        url: `${config.API_URL}/platform/log/info`,
        name: "根据ID获取字典值详情",
        get: function (logId) {
            return http.get(this.url + "/" + logId);
        }
    },
    pageListLog: {
        url: `${config.API_URL}/platform/log/pageList`,
        name: "分页查询日志列表",
        get: function (platformLogQueryVo) {
            return http.get(this.url, platformLogQueryVo);
        }
    },
    pageListLogin: {
        url: `${config.API_URL}/platform/login/pageList`,
        name: "分页查询登录日志列表",
        get: function (platformLoginQueryVo) {
            return http.get(this.url, platformLoginQueryVo);
        }
    }
}
